home *** CD-ROM | disk | FTP | other *** search
/ Gigarom 4 / Mac Giga-ROM 4.0 - 1993.toast / FILES / COM / Q-Z / Terminal 2.2.sit / Terminal 2.2 / Project / Sources / Text.h < prev    next >
MacBinary  |  1992-01-17  |  1.1 KB  |  [TEXT/KAHL]

open in: MacOS 8.1     |     Win98     |     DOS

browse contents    |     view JSON data     |     view as text


This file was processed as: MacBinary (archive/macBinary).

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
10% dexvert Jesper Olsen Module (music/jesperOlsen) magic Supported
1% dexvert Text File (text/txt) fallback Supported
100% file MacBinary II, Fri Jan 17 12:00:00 1992, modified Fri Jan 17 12:00:00 1992, creator Think C, type ASCII, 561 bytes "Text.h" , at 0x2b1 286 bytes resource default (weak)
99% file data default
49% TrID Macintosh plain text (MacBinary) default
33% TrID TTComp archive compressed (bin-4K) default (weak)
16% TrID MacBinary 2 default (weak)
100% siegfried fmt/1762 MacBinary (II) default
100% lsar MacBinary default


id metadata
keyvalue
macFileType[TEXT]
macFileCreator[KAHL]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 06 54 65 78 74 2e 68 | 00 00 00 00 00 00 00 00 |..Text.h|........|
|00000010| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 54 45 58 54 4b 41 48 | 4c 00 00 00 00 00 00 00 |.TEXTKAH|L.......|
|00000050| 00 00 00 00 00 02 31 00 | 00 01 1e a5 9c bc 10 a5 |......1.|........|
|00000060| 9c bc 10 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 a7 54 00 00 |........|.....T..|
|00000080| 2f 2a 0d 09 54 65 72 6d | 69 6e 61 6c 20 32 2e 32 |/*..Term|inal 2.2|
|00000090| 0d 09 22 54 65 78 74 2e | 68 22 0d 2a 2f 0d 0d 74 |.."Text.|h".*/..t|
|000000a0| 79 70 65 64 65 66 20 73 | 74 72 75 63 74 20 7b 0d |ypedef s|truct {.|
|000000b0| 09 42 79 74 65 09 2a 74 | 65 78 74 3b 09 09 2f 2a |.Byte.*t|ext;../*|
|000000c0| 20 50 6f 69 6e 74 65 72 | 20 74 6f 20 74 65 78 74 | Pointer| to text|
|000000d0| 20 62 75 66 66 65 72 20 | 2a 2f 0d 09 6c 6f 6e 67 | buffer |*/..long|
|000000e0| 09 73 69 7a 65 3b 09 09 | 2f 2a 20 53 69 7a 65 20 |.size;..|/* Size |
|000000f0| 6f 66 20 74 65 78 74 20 | 62 75 66 66 65 72 20 2a |of text |buffer *|
|00000100| 2f 0d 09 6c 6f 6e 67 09 | 66 69 72 73 74 43 68 61 |/..long.|firstCha|
|00000110| 72 3b 09 2f 2a 20 4f 66 | 66 73 65 74 20 6f 66 20 |r;./* Of|fset of |
|00000120| 66 69 72 73 74 20 63 68 | 61 72 61 63 74 65 72 20 |first ch|aracter |
|00000130| 69 6e 20 74 65 78 74 20 | 2a 2f 0d 09 6c 6f 6e 67 |in text |*/..long|
|00000140| 09 6e 65 77 43 68 61 72 | 3b 09 2f 2a 20 4f 66 66 |.newChar|;./* Off|
|00000150| 73 65 74 20 6f 66 20 6e | 65 78 74 20 63 68 61 72 |set of n|ext char|
|00000160| 61 63 74 65 72 20 6c 6f | 63 61 74 69 6f 6e 20 2a |acter lo|cation *|
|00000170| 2f 0d 09 6c 6f 6e 67 09 | 6c 65 6e 67 74 68 3b 09 |/..long.|length;.|
|00000180| 09 2f 2a 20 4c 65 6e 67 | 74 68 20 6f 66 20 74 65 |./* Leng|th of te|
|00000190| 78 74 20 2a 2f 0d 09 6c | 6f 6e 67 09 6c 69 6e 65 |xt */..l|ong.line|
|000001a0| 73 3b 09 09 2f 2a 20 4e | 75 6d 62 65 72 20 6f 66 |s;../* N|umber of|
|000001b0| 20 6c 69 6e 65 73 20 69 | 6e 20 74 65 78 74 20 2a | lines i|n text *|
|000001c0| 2f 0d 09 6c 6f 6e 67 09 | 76 69 65 77 43 68 61 72 |/..long.|viewChar|
|000001d0| 3b 09 2f 2a 20 4f 66 66 | 73 65 74 20 6f 66 20 63 |;./* Off|set of c|
|000001e0| 68 61 72 61 63 74 65 72 | 20 63 6f 72 72 65 73 70 |haracter| corresp|
|000001f0| 6f 6e 64 69 6e 67 2e 2e | 2e 20 2a 2f 0d 09 6c 6f |onding..|. */..lo|
|00000200| 6e 67 09 76 69 65 77 4c | 69 6e 65 3b 09 2f 2a 20 |ng.viewL|ine;./* |
|00000210| 2e 2e 2e 74 6f 20 74 68 | 69 73 20 6c 69 6e 65 20 |...to th|is line |
|00000220| 2a 2f 0d 7d 20 54 65 78 | 74 52 65 63 6f 72 64 3b |*/.} Tex|tRecord;|
|00000230| 0d 0d 76 6f 69 64 20 41 | 64 64 4e 65 77 43 68 61 |..void A|ddNewCha|
|00000240| 72 61 63 74 65 72 20 28 | 54 65 78 74 52 65 63 6f |racter (|TextReco|
|00000250| 72 64 20 2a 2c 20 42 79 | 74 65 29 3b 0d 42 6f 6f |rd *, By|te);.Boo|
|00000260| 6c 65 61 6e 09 46 69 6e | 64 4c 69 6e 65 20 28 54 |lean.Fin|dLine (T|
|00000270| 65 78 74 52 65 63 6f 72 | 64 20 2a 2c 20 6c 6f 6e |extRecor|d *, lon|
|00000280| 67 2c 20 42 79 74 65 20 | 2a 29 3b 0d 42 79 74 65 |g, Byte |*);.Byte|
|00000290| 20 52 65 6d 6f 76 65 43 | 68 61 72 61 63 74 65 72 | RemoveC|haracter|
|000002a0| 20 28 54 65 78 74 52 65 | 63 6f 72 64 20 2a 29 3b | (TextRe|cord *);|
|000002b0| 0d 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002c0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002d0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002e0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|000002f0| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000300| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000310| 0d 09 22 53 63 72 6f 6c | 6c 2e 68 22 0d 2a 2f 0d |.."Scrol|l.h".*/.|
|00000320| 0d 76 6f 69 64 20 41 64 | 6a 75 73 74 53 63 72 6f |.void Ad|justScro|
|00000330| 06 54 65 78 74 2e 68 da | 02 00 00 00 50 61 72 74 |.Text.h.|....Part|
|00000340| 53 49 54 78 00 00 00 00 | 00 00 00 00 00 01 18 e1 |SITx....|........|
|00000350| 00 00 50 61 72 74 53 49 | 54 78 00 00 00 00 00 00 |..PartSI|Tx......|
|00000360| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000370| 00 00 a7 d3 7e 74 00 00 | 00 00 00 00 01 1e 72 6f |....~t..|......ro|
|00000380| 6c 6c 20 28 44 6f 63 75 | 6d 65 6e 74 50 65 65 6b |ll (Docu|mentPeek|
|00000390| 2c 20 73 68 6f 72 74 29 | 3b 0d 68 65 63 6b 28 64 |, short)|;.heck(d|
|000003a0| 69 61 6c 6f 67 2c 20 43 | 5f 53 54 41 52 54 5f 45 |ialog, C|_START_E|
|000003b0| 4e 41 42 4c 45 2c 20 54 | 52 55 45 29 3b 0d 09 09 |NABLE, T|RUE);...|
|000003c0| 09 09 7d 0d 09 09 09 09 | 62 72 65 61 6b 3b 0d 09 |..}.....|break;..|
|000003d0| 09 09 63 61 73 65 20 43 | 5f 53 41 56 45 3a 0d 09 |..case C|_SAVE:..|
|000003e0| 09 09 63 61 73 65 20 43 | 5f 41 55 54 4f 4c 46 3a |..case C|_AUTOLF:|
|000003f0| 0d 09 09 09 63 61 73 65 | 20 43 5f 45 43 48 4f 5f |....case| C_ECHO_|
|00000400| 00 00 01 00 00 00 01 00 | 00 00 00 00 00 00 00 1e |........|........|
|00000410| 00 00 00 00 00 00 00 00 | 00 1c 00 1e ff ff 00 00 |........|........|
|00000420| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000430| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000440| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000450| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000460| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000470| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
+--------+-------------------------+-------------------------+--------+--------+